package com.service.Impl;

import com.pojo.Person;
import com.service.PersonSer;

import java.util.List;

import static com.util.Vessel.personDao;

public class PersonSerImpl implements PersonSer {
    @Override
    public List<Person> queryPerson() {
        return personDao.queryPerson();
    }

    @Override
    public int addPerson(Person person) {
        return personDao.addPerson(person);
    }

    @Override
    public int delPerson(Person person) {
        return personDao.delPerson(person);
    }
}
